package com.horoscope.astrology.zodiac.signs.free.utils

import android.os.Handler
import android.os.Looper

/**
 * 作者    1024
 * 时间    2020/4/14 上午11:48
 * 文件    constellation-android
 * 描述
 */
object MyHandler : Handler(Looper.getMainLooper()) {
    @Volatile
    var instance: MyHandler? = null
        get() {
            if (null == field) {
                synchronized(MyHandler::class.java) {
                    if (null == field) {
                        field = MyHandler
                    }
                }
            }
            return field
        }
        private set
}